package main

import (
	"wx-uniapp-go/internal/server"
	_ "wx-uniapp-go/routers"
)

func main() {
	//go func() {
	//	http.HandleFunc("/ws", service.handleWebSocket)
	//	log.Fatal(http.ListenAndServe(":8080", nil))
	//}()
	// 初始化组件库
	server.Init()
	// 启动WebServer
	server.Run()
	//ws.StartServer("8080")
}
